package com.chixing.ih.module.admin.mapper;

import com.chixing.ih.module.admin.mapper.Provider.AdminEchartsMapperProvider;
import com.chixing.ih.module.admin.pojo.dto.City;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface AdminEchartsMapper {

    @SelectProvider(type = AdminEchartsMapperProvider.class, method = "transactionData")
    long transactionData(long mouth, long year);

    @SelectProvider(type = AdminEchartsMapperProvider.class, method = "taskData")
    Integer taskData(long mouth, long year);

    @SelectProvider(type = AdminEchartsMapperProvider.class, method = "userData")
    Integer userData(int year);

    @SelectProvider(type = AdminEchartsMapperProvider.class, method = "vipData")
    Integer vipData(int year);

    @SelectProvider(type = AdminEchartsMapperProvider.class, method = "cityData")
    List<City> cityData();


}
